package com.yuneec.droneservice.command;

import com.MAVLink.yuneec.msg_mav_rc_cmd_ack;
import com.yuneec.droneservice.request.IResponse;

/**
 * Created by gjw on 2017/3/27.
 */

public class CancelUpdate extends BaseCommand {

    public CancelUpdate() {
        super(MAV_RC_COMMAND.MAV_RC_CMD_CANCEL_UPDATE);
    }

    @Override
    protected short[] body() {
        return null;
    }

    @Override
    public IResponse toResponse(msg_mav_rc_cmd_ack ack) {
        return new IResponse(ids(), ack.code);
    }
}
